xen: introduce vcpu_block
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 23 Apr 2013 11:19:26 +0000 (12:19 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 30 Apr 2013 10:32:04 +0000 (11:32 +0100)
commit7be7b15dde4364b6f524aa9330a283c60b7708ea
tree77e049f18e037a09132ab6f993811f497a8ad70b
parent11d8866da50a75ef5089faebdfa37164bdcb7545
xen: introduce vcpu_block

Rename do_block to vcpu_block.

Move the call to local_event_delivery_enable out of vcpu_block, to a new
static function called vcpu_block_enable_events.

Use vcpu_block_enable_events instead of do_block throughout in
schedule.c

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/schedule.c
xen/include/xen/sched.h